import {View, Text} from '@tarojs/components'
import {useDidShow} from '@tarojs/taro'
import {tabBarStore} from "@/store/tabbar-store";

export default function Square() {

	useDidShow(() => {
		// 页面显示时更新TabBar状态
		tabBarStore.setSelected(2)
	})

  return (
    <View className='index'>
      <Text>我是square！</Text>
    </View>
  )
}
